package cn.pconline.officialclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 车友会访客记录表
 *
 * @author ppc
 */
@Entity(tableName = "oac_club_visitor")
public class OClubVisitor extends EntityKit {

    @Id
    @Column(name = "o_club_id")
    private long oClubId;
    @Id
    @Column(name = "user_id")
    private long userId;
    @Column(name = "visit_date")
    private Date visitDate;
    @Column(name = "create_at")
    private Date createAt;

    public long getoClubId() {
        return oClubId;
    }

    public void setoClubId(long oClubId) {
        this.oClubId = oClubId;
    }

    /**
     * 兼容geli
     *
     * @return
     */
    public long getOClubId() {
        return oClubId;
    }

    /**
     * 兼容geli
     *
     * @return
     */
    public void setOClubId(long oClubId) {
        this.oClubId = oClubId;
    }

    public long getUserId() {
        return userId;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }
}
